|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 01:50:00 -
[1] - Quote
I have tried and tried to get this working and for some reason after I put in the API info, and click to get the characters... NOTHING it acts as if clicking that part has no effect on the script what so ever. Does anyone have any idea what could be causing this problem?
Thank you in advance |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 14:00:00 -
[2] - Quote
My PHP Info shows all that is ON. My hosting company allows us to change php.ini settings, but the script is def stalling someplace. I hate when things pause and give ya no clue on where it paused lol.
Also TA5E you can get the latest version of jquery from http://jquery.com/ and put it into your site. |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 16:08:00 -
[3] - Quote
YEA!!! I found the problem!!
There is currently a certificate problem with
https://api.eveonline.com/account/APIKeyInfo.xml.aspx?
You can get the same info with just
http://api.eveonline.com/account/APIKeyInfo.xml.aspx?
So no need to use a HTTPS site to get the info as web certs can and will cause problems with scripts if they are out of date.
I knew it was something simple so I just made a simple script to test out the simplexml_load_file function. I was still not receiving any information so I used CURL to try and get the information. Upon using CURL it informed me
"Error fetching data: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"
So I changed it from HTTPS to HTTP using simplexml and it worked like a charm. |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 18:53:00 -
[4] - Quote
True, you are not transmitting the API key, However as you see from my post above "SSL certificate problem, verify that the CA cert is OK" A problem does exist someplace lol. I haven't used simplexml very much. Is there a command to ignore Cert's? I would prefer to use SSL if I could. Ill also look up on google as well and see if I cant find a ignore command. |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 19:09:00 -
[5] - Quote
Make sure you can use exec in your hosting companies site, also can you add a php.ini to your site. Some hosting companies allow this and it helps a lot, you can modify php to your liking. |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 21:37:00 -
[6] - Quote
Now I am having the problem that it is not connecting to my TS3 server. I know all ports are open I can access and modify the Teamspeak 3 Server from the same server. Anyone have any idea's to try?
Yes my white list has been updated, and working properly as I can connect with the admin website.
This is the error msg I am receiving!
Error connecting to TS server to check whether or not the Teamspeak Unique ID you entered is recognized by the Teamspeak server.
But everything is correct I must have checked it a 100 times now.. |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 21:45:00 -
[7] - Quote
Found my problem! others may want to take not if it hasn't been said before. In the config
$config['TS Server']['Script Nickname'] = 'EVE Registration bot';
I had
$config['TS Server']['Script Nickname'] = 'EVE Registration Assistant';
I guess there is a limit on the length of the script nickname that can be used. Assistant will not work and give an error as if it cannot connect each time. But bot works just perfectly!
Just an FYI for anyone in the future to take note of! |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.10 23:06:00 -
[8] - Quote
Here is another issue I found and have corrected. I have only found this issue to cause any problems but you may want to update the script.
in index.php Line 209
$corp = get_eve_corp ($_POST['Key_ID'], $_POST['Key_Ver_Code'], $_POST['Character_Name']) or die('Error getting corporation information with submitted API information.'); if ($corp == -1) { //connection error die('Error connecting to EVE API server to verify corporation membership. Please try again later.'); }
Should be
$corp = get_eve_corp ($_POST['Key_ID'], $_POST['Key_Ver_Code'], stripslashes($_POST['Character_Name'])) or die('Error getting corporation information with submitted API information.'); if ($corp == -1) { //connection error die('Error connecting to EVE API server to verify corporation membership. Please try again later.'); }
The reason for this change is for people that have names like mine with a ' in the name. This caused problems and could not verify the corp with the character because it had a slash in it. IE Rache Le\'Bonbon. The fix will remove the slash and allow the script to run properly.
I have not found any other places in the script where this may exist. I will keep my eye out. |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.11 02:06:00 -
[9] - Quote
Thanks, Yea I will have to modify the script to turn off magic quotes for this site. Would be easier than updating the whole thing, but it would be a good thing to note in doc's. BTW thank you for taking an active roll in your script, so many make it and you never hear from them again!
This added to the top of index.php took care of all slashes if you magic quotes are turned on. May be a good thing to add just so its a non issue.
if (get_magic_quotes_gpc()) { $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST); while (list($key, $val) = each($process)) { foreach ($val as $k => $v) { unset($process[$key][$k]); if (is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = stripslashes($v); } } } unset($process); } |

Rache Le'Bonbon
Dissension X Inc.
0
|
Posted - 2011.10.11 05:05:00 -
[10] - Quote
Yea, php.ini is the best way, but its not always a perfect world. I guess when I make scripts I try to think of it this way. Most people are dumb, and probably don't know how to modify there php.ini! Or their hosting service wont let them, or even they do use it for other scripts thus can not turn it off.
So as making a script I always put stuff in to take care of any problems that might rise to any situation, so I don't have to worry about it later. Making assumptions that people are smart will always get ya into trouble. LOL no matter what its about Life, scripts, Eve lol
I do understand from your prospective that Magic Quotes is deprecated and I believe in 6.0 is gone all together if I remember reading. So really no big deal! I guess I am the only one that ran into it seems anyhow. LoL. At minimum its in these forums, for anyone that might run into it, they can then search and find answers!
I am a novice to advanced in what I know about PHP, basically know enough to get into trouble lol.
However I did run into one more problem! I can not get it to interface with TS3.. It says everything is ok, but it is not adjusting groups like it should! Haven't started to dig yet into it. you have my TS info jump on if ya like, or just write back.
Also I would like to get your opinion on why I can not use the HTTPS as it tells me that the cert is bad. |
|

Rache Le'Bonbon
Dissension X Inc.
1
|
Posted - 2011.10.13 22:59:00 -
[11] - Quote
Just to let ya know MisterMagotchi I am still having the problem with I register with the ' in my name. It register's fine but when I got to log in I can't, Log in with admin account remove ' and add ' and it works just fine after that. All I can think is that it has something to do with the database not wanting to see the ' as a '. Just letting ya know, not a big problem due to not many have ' in names.
Also I am working on a mod for this script. I will post what I have in here or to you, however ya like. |

Rache Le'Bonbon
Dissension X Inc.
1
|
Posted - 2011.10.14 18:22:00 -
[12] - Quote
yea I noticed you did an update, so I updated and tested. let me do some more testing, however I did notice this time it made my clean name as! rache le+č-¦bonbon not rache le'bonbon somehow it got the +č in it! lol |

Rache Le'Bonbon
Dissension X Inc.
1
|
Posted - 2011.10.15 03:51:00 -
[13] - Quote
Here is a mod I have made for this script by MisterMagotchi. This will allow you to set the EVE Avatar as you forum characters Avatar.
I recommend you make any backups before continuing, i am not responsible for you messing your scripts up.
Instructions on how to setup avatar in script.
MisterMagotchi may or may not include this in his script as a release. He is welcome to include it if he see's fit, as he is the author of the main script . I am just trying to add some more function to it that others may enjoy. |
|
|
|